package cn.dcpnet.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author dcpnet
 * @since 2025/01/02 22:32
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface DFeignInterface {

    /**
     *
     * @return 接口名
     */
    String interface_name();

    /**
     *
     * @return 接口超时时间
     */
    long timeout() default 1000L;
}
